<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
.error{
	border:1px solid #dd0000;
}
</style>
<script type="text/javascript" src="wan.js"></script>
</head>

<body>
<form id="form1">
	<input type="text" class="isNotEmpty" msg='can not empty' tabindex="2" />
	<input type="text" class="isEmail isNotEmpty" msg='can not empty' tabindex="4" />
	<input type="text" class="isNotEmpty" msg='can not empty' tabindex="6"  disabled="disabled" />
	<input type="button" id="submit" value="click" />
</form>
<script type="text/ecmascript">
	//$('submit').observe('click',function(){alert('aa');});
	console.dir($('form1').getRect());
</script>
</body>
</html>
